package top.linyuxb.lycloud.rpc.samples.config.service;

import com.alibaba.fastjson2.JSONObject;
import top.linyuxb.lycloud.rpc.starter.annotation.LyRpcMethod;
import top.linyuxb.lycloud.rpc.starter.annotation.LyRpcServer;

/**
 * Created by Intellij IDEA.
 *
 * @Author: linyuxb
 * @Date: 2024/6/5 11:28
 * @Desc:
 */
@LyRpcServer(name = "clientService")
public interface IClientService {
    /**
     * 测试方法
     *
     * @param info
     * @param json
     * @return
     */
    @LyRpcMethod
    JSONObject test(String info, JSONObject json);

    /**
     * 获取信息
     *
     * @param info
     * @param number
     * @param type
     * @return
     */
    @LyRpcMethod
    String getInfo(String info, Integer number, Boolean type);
}
